{% extends 'EasyVoteBundle::layout.html.twig' %}

{% block title %}EasyVote | Admin{% endblock %}

{% block content %}
    <div class="container" style="padding-top: 20px;">
        <div class="row row-centered">
            <div class="col-md-6 col-centered">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <h3>Admin Control</h3>
                        {{ form(form_view) }}
                        <h3>Current Admins</h3>
                        <ul class="list-group" style="padding-top: 20px;">
                            {% for admin in admin_list %}
                            <li class="list-group-item">
                                {{ admin.euid }}
                            </li>
                            {% endfor %}
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
